package Xiancheng;

/**
 * @author AcerMr
 *
 */
public class TestMain
{
	public static void main(String[] args)
	{
		System.out.println("======");
		Storage storage = new Storage();
		Cons cons = new Cons();
		cons.setSto(storage);
		Prod prod = new Prod(storage);
		Thread prod1 = new Thread(prod);
		prod1.start();
		Thread cons1 = new Thread(cons);
		cons1.start();
	}
}
